import request from '@/utils/request'

// 查询租户复合组件返回值列表
export function listTenantComponentReturnValueVersion(query) {
  return request({
    url: '/business/tenantComponentReturnValueVersion/list',
    method: 'get',
    params: query
  })
}

// 查询租户复合组件返回值详细
export function getTenantComponentReturnValueVersion(id) {
  return request({
    url: '/business/tenantComponentReturnValueVersion/' + id,
    method: 'get'
  })
}

// 新增租户复合组件返回值
export function addTenantComponentReturnValueVersion(data) {
  return request({
    url: '/business/tenantComponentReturnValueVersion',
    method: 'post',
    data: data
  })
}

// 修改租户复合组件返回值
export function updateTenantComponentReturnValueVersion(data) {
  return request({
    url: '/business/tenantComponentReturnValueVersion',
    method: 'put',
    data: data
  })
}

// 删除租户复合组件返回值
export function delTenantComponentReturnValueVersion(id) {
  return request({
    url: '/business/tenantComponentReturnValueVersion/' + id,
    method: 'delete'
  })
}
